package com.czqr.adid;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;

import com.chenzhou.qx.library.adid.AdIdUtil;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Log.d("tag", "adid1 = " + AdIdUtil.getAdId(this));
    }

    @Override
    protected void onResume() {
        super.onResume();
        Log.d("tag", "adid2 = " + AdIdUtil.getAdId(this));
    }
}